package org.dromara.system.domain.bo;

import org.dromara.system.domain.AppWarehouse;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 仓库业务对象 app_warehouse
 *
 * @author Lion Li
 * @date 2025-09-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = AppWarehouse.class, reverseConvertGenerate = false)
public class AppWarehouseBo extends BaseEntity {

    /**
     * 仓库ID
     */
    private Long id;

    /**
     * 仓库名称
     */
    private String name;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 货物类型
     */
    private String goodsType;

    /**
     * 库存量
     */
//    @NotNull(message = "库存量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long stock;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否赛选
     */
    private Integer type;


}
